class Solution {
public:
    int findNumbers(vector<int>& nums) {
        int cnt = 0;
        for (auto x : nums) {
            int digit = floor(log10(x)) + 1;
            cnt += !(digit & 1);
        }
        return cnt;
    }
};
